
/**
 * 获取信用卡size
 *
 */
function get_card_size() {
    var map = new LinkedHashMap();
    map.put("method", "get_card_size");
    return sendAndReceive(map);
}
/**
 * 获取area5中信息
 *
 */
function getAreaMsg() {
    var map = new LinkedHashMap();
    map.put("method", "getAreaMsg");
    return sendAndReceive(map);
}

/**
 * 截图方法
 * @returns {*}
 */
function getHtml2 () {
    var map = new HashMap();
    map.put("method", "getHtml2");
    return sendAndReceive(map);
}

/**
 * 校验密码输入
 */
function check_pswd(password) {
    var map = new LinkedHashMap();
    map.put("method", "check_pswd");
    map.put("password",password);
    return sendAndReceive(map);
}

/**
 * 输入密码
 *
 * @param password
 * @return
 */
function input_password_callback(password) {
    var map = new LinkedHashMap();
    map.put("method", "input_password_callback");
    map.put("password", password);
    return sendAndReceive(map);
}
//检查用户名，验证码，密码是否输入正常（参数1：id, 参数2：正确的值）
function checkIfInput(id,value){
    var map = new LinkedHashMap();
    map.put("method", "checkIfInput");
    map.put("id", id);
    map.put("value", value);
    return Boolean.valueOf(sendAndReceive(map));
}

function checkControlAvailable(){
    var map = new LinkedHashMap();
    map.put("method", "checkControlAvailable");
    return sendAndReceive(map);
}

function get_jump(url) {
    var map = new LinkedHashMap();
    map.put("method", "get_jump");
    map.put("url",url);
    return sendAndReceive(map);
}

function clickById(id) {
    var map = new LinkedHashMap();
    map.put("method", "clickById");
    map.put("id",id);
    return sendAndReceive(map);
}
function click_login_button() {
    var map = new LinkedHashMap();
    map.put("method", "click_login_button");
    return sendAndReceive(map);
}
function checkInputValue(iframeId,id,value){
    var map = new LinkedHashMap();
    map.put("method", "checkInputValue");
    map.put("iframeId", iframeId);
    map.put("id", id);
    map.put("value", value);
    return Boolean.valueOf(sendAndReceive(map));
}

function click_login_button() {
    var map = new LinkedHashMap();
    map.put("method", "click_login_button");
    return sendAndReceive(map);
}
function getCurrencyPage() {
    var map = new LinkedHashMap();
    map.put("method", "getCurrencyPage");
    return sendAndReceive(map);
}
function copyFile(path,taskkey,year,mounth,date1) {
    var map = new LinkedHashMap();
    map.put("method", "copyFile");
    map.put("path", path);
    map.put("taskkey", taskkey);
    map.put("year", year);
    map.put("mounth", mounth);
    map.put("date1", date1);
    return sendAndReceive(map);
}

/**
 * 截取当前屏幕的状态
 * @return
 */
function getScreenShots() {
    var map=new LinkedHashMap();
    map.put("method", "getScreenShots");
    return sendAndReceive(map);
}